<!DOCTYPE html>
<!-- saved from url=(0054)http://www.oiegg.com/memcp.php?action=profile&typeid=4 -->
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="keywords" content="北师大论坛,北京师范大学论坛,北京师范大学bbs,北师大bbs">
		<title> 蛋蛋网  - 师大人的精神家园|北师大论坛|北师大BBS</title>
		<link rel="stylesheet" type="text/css" href="../Public/index_files/style.css">
		<link rel="shortcut icon" type="image/x-icon" href="http://www.oiegg.com/favicon.ico">
		<script src="../Public/index_files/js_packed.js"></script>
	</head>
<body onkeydown="if(event.keyCode==27) return false;" onload="setBrowserTagToBody()" class="webkit">

<div class="wrap side-shadow">
    <div class="inner_wrapper">
        <include file="Public:header"/>
<div class="container">
	<div id="foruminfo">
		<div id="nav"><a href="__APP__/Index/index">蛋蛋网</a> » 编辑个人资料</div>
	</div>
	
	<div class="mainbox formbox">
		<h1>编辑个人资料</h1>
		<ul class="tabs">
			<li <if condition="$tab eq 'account'">class="current" </if>><a href="__APP__/Member/index/tab/account">论坛登录</a></li>
			<li <if condition="$tab eq 'setting'">class="current" </if> ><a href="__APP__/Member/index/tab/setting">基本资料</a></li>
			<li <if condition="$tab eq 'profile'">class="current" </if>><a href="__APP__/Member/index/tab/profile">个性化资料</a></li>
			<!--<li <if condition="$tab eq 'option'">class="current" </if>><a href="__APP__/Member/index/tab/option">论坛选项</a></li>-->
		</ul>
		
		<form action="__APP__/Member/changepassword" method="post" >
		<table <if condition="$tab neq 'account'">style="display:none;"</if> summary="编辑个人资料" cellspacing="0" cellpadding="0">
		<tbody>
		<tr>
			<th><label for="oldpassword">原密码</label></th>
			<td><input type="password" name="oldpassword" id="oldpassword" size="25"></td>
		</tr>
		<tr>
			<th><label for="newpassword">新密码</label></th>
			<td><input type="password" name="newpassword" id="newpassword" size="25"></td>
		</tr>
		<tr>
			<th><label for="newpassword2">确认新密码</label></th>
			<td><input type="password" name="newpassword2" id="newpassword2" size="25"></td>
		</tr>
		<tr>
			<th>&nbsp;</th>
			<td><button type="submit" class="submit" name="editsubmit" id="editsubmit" value="true">提交</button></td>
		</tr>
	</tbody>
	</table>
	</form>
	
	<form action="__APP__/Member/changesetting" method="post" >
	<table <if condition="$tab neq 'setting'">style="display:none;"</if> summary="编辑个人资料" cellspacing="0" cellpadding="0">
		<tbody>
		<tr>
		<th><label for="nicknamenew">昵称</label></th>
		<td>
			<input type="text" name="nickname" id="nicknamenew" size="25" value="{$loginUser.nickname}">
			<input type="hidden" name="id" value="{$loginUser.id}">
		</td>
		</tr>
		<tr>
			<th><label for="emailnew">Email</label></th>
			<td><input type="text" name="email" id="emailnew" size="25" value="{$loginUser.email}">
				</td>
		</tr>
		
	<tr>
	<th>性别</th>
	<td>
	<label><input class="radio" type="radio" name="sex" value="1" <if condition="$loginUser.sex eq 1"> checked="checked"</if>> 男 &nbsp;<label>
	<label><input class="radio" type="radio" name="sex" value="2" <if condition="$loginUser.sex eq 2"> checked="checked"</if>> 女 &nbsp;</label>
	<label><input class="radio" type="radio" name="sex" value="0" <if condition="$loginUser.sex eq 0"> checked="checked"</if>> 保密</label>
	</label></label></td></tr>

	<!--<tr>
	<th><label for="bdaynew">生日</label></th>
	<td><input type="text" name="bday" id="bdaynew" size="25" onclick="showcalendar(event, this)" onfocus="showcalendar(event, this);if(this.value=='0000-00-00')this.value=''" value="0000-00-00"></td>
	</tr>
	-->
	<tr>
	<th><label for="locationnew">学校</label></th>
	<td><input type="text" name="location" id="locationnew" size="25" value="{$loginUser.location}"></td>
	</tr>

	<tr>
	<th><label for="qqnew">QQ</label></th>
	<td><input type="text" name="qq" id="qqnew" size="25" value="{$loginUser.qq}"></td>
	</tr>

	<tr>
	<th><label for="alipaynew">支付宝账号</label></th>
	<td><input type="text" name="alipay" id="alipaynew" size="25" value="{$loginUser.alipay}"></td>
	</tr>

	<tr>
		<th>&nbsp;</th>
		<td><button type="submit" class="submit" name="editsubmit" id="editsubmit" value="true">提交</button></td>
	</tr>
</tbody>
</table>
	</form>
	
	<form action="__APP__/Member/changeprofile" method="post" >
	<table <if condition="$tab neq 'profile'">style="display:none;"</if> summary="编辑个人资料" cellspacing="0" cellpadding="0">
	
	
				<tbody><tr>
			<th valign="top"><label for="urlavatar">头像</label></th>
			<td>
			<span id="avatarpreview"></span>
			<input type="text" name="urlavatar" id="urlavatar" onchange="previewavatar(this.value)" size="25" value=""> &nbsp; <a href="member.php?action=viewavatars&amp;page=1" onclick="ajaxget(this.href, 'avatardiv');doane(event);">论坛头像列表</a>
			<div id="avatardiv" style="display: none; margin-top: 10px;"></div>
			<br><input type="file" name="customavatar" onchange="$('avatarwidthnew').value = $('avatarheightnew').value = '*';$('urlavatar').value = '';if(this.value) previewavatar('');" size="25">
			<br>宽: <input type="text" name="avatarwidthnew" id="avatarwidthnew" size="1" value="*"> &nbsp; 高: <input type="text" name="avatarheightnew" id="avatarheightnew" size="1" value="*"></td>
			</tr>
		
		<tr>
		<th valign="top"><label for="bionew">自我介绍 (200 字节以内)<br><em>不支持自定义 Discuz! 代码<br><br>
		<a href="faq.php?action=message&amp;id=18" target="_blank">Discuz!代码</a> <b>禁用</b><br>
		[img] 代码 <b>禁用</b><br><br>
		<a href="###" onclick="allowbbcode = allowbiobbcode;allowimgcode = allowbioimgcode;$('biopreview').innerHTML = bbcode2html($('bionew').value)">预览</a>
		</em></label></th>
		<td><div id="biopreview"></div><textarea rows="8" cols="30" style="width: 380px" id="bionew" name="bionew"></textarea>
		</td>
		</tr>
	
				<tr>
			<th valign="top"><label for="signaturenew">个人签名 (200 字节以内)<br><em>不支持自定义 Discuz! 代码</em><br><br>
			<em>
			<a href="faq.php?action=message&amp;id=18" target="_blank">Discuz!代码</a><b>可用</b><br>
			[img] 代码 <b>可用</b><br><br>
			<a href="###" onclick="allowbbcode = allowsigbbcode;allowimgcode = allowsigimgcode;$('signaturepreview').innerHTML = bbcode2html($('signaturenew').value)">预览</a>
			</em></label></th>
			<td><div id="signaturepreview"></div><textarea rows="8" cols="30" style="width: 380px" id="signaturenew" name="signaturenew"></textarea>
			</td>
			</tr>
			<tr>
			<th>&nbsp;</th>
			<td><button type="submit" class="submit" name="editsubmit" id="editsubmit" value="true">提交</button></td>
		</tr>
	</tbody>
	</table>
</form>
</div>
</div>
	<include file="Public:footer"/>
</div>
</div>
<div class="wrap bottom-shadow"></div>
</body></html>